<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>switch_条件分支语句</title>
</head>
<body>
<script>
  var foot = 45;
  switch (foot) {
    case 37 :
      console.log("37码的大汗脚");
      break;
    case 38:
      console.log("38码的大汗脚");
      break;
    case 39:
      console.log("39码的大汗脚");
      break;
    case 40:
      console.log("45码的大汗脚");
      break;
    default:
      console.log("啊！ 我的雨姐！！！")
  }
</script>
</body>
</html>